package com.sq.springcloud.controller;

import com.sq.springcloud.service.IMessageProvider;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Description: TODO
 * @author: ydy
 * @date: 2022-10-21 12:09
 */
@RestController
public class SendMessageController {

    @Resource
    private IMessageProvider iMessageProvider;


    @GetMapping(value = "/sedMessage")
    public String sedMessage(){
        return iMessageProvider.send();
    }

}
